package ch6;

public class TeacherTest {
    public static void main(String[] args) {
        Teacher1 j = new Teacher1("刘老师", "男", "idea",
                "java", 30, 10);
        j.selfIntroduce();
        j.giveLession();
        Teacher1 u = new Teacher1("王老师", "女", "photoshop",
                "UI", 26, 5);
        u.selfIntroduce();
        u.giveLession();
        Teacher1 n = new Teacher1("李老师", "女", "Visual studio",
                ".net", 18, 1);
        n.selfIntroduce();
        n.giveLession();
    }
}
